package com.bupt.ilink.entity.userManagement;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("user_roles")
public class UserRoles {

    @TableId(value = "role_id", type = IdType.AUTO)
    private Long roleId;

    @TableField("role_name")
    private String roleName;

    @TableField("member_management")
    private Boolean memberManagement;

    @TableField("apply_management")
    private Boolean applyManagement;

    @TableField("knowledge_base_management")
    private Boolean knowledgeBaseManagement;

    @TableField("dataset_management")
    private Boolean datasetManagement;


    @TableField("team_id")
    private Long teamId;

}

